package com.scap.dfs.model;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the DOCTOR database table.
 * 
 */
@Entity
@Table(name="DOCTOR")
@NamedQuery(name="Doctor.findAll", query="SELECT d FROM Doctor d")
public class Doctor implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private DoctorPK id;

	@Column(name="ACTIVE")
	private String active;

	@Column(name="ADDRESS1")
	private String address1;

	@Column(name="ADDRESS2")
	private String address2;

	@Column(name="ADDRESS3")
	private String address3;

	@Column(name="BANK_ACCOUNT_NAME")
	private String bankAccountName;

	@Column(name="BANK_ACCOUNT_NO")
	private String bankAccountNo;

	@Column(name="BANK_BRANCH_CODE")
	private String bankBranchCode;

	@Column(name="BANK_CODE")
	private String bankCode;

	@Column(name="DEPARTMENT_CODE")
	private String departmentCode;

	@Column(name="DOCTOR_CATEGORY_CODE")
	private String doctorCategoryCode;

	@Column(name="DOCTOR_PROFILE_CODE")
	private String doctorProfileCode;

	@Column(name="DOCTOR_TAX_CODE")
	private String doctorTaxCode;

	@Column(name="DOCTOR_TYPE_CODE")
	private String doctorTypeCode;

	@Column(name="EMAIL")
	private String email;

	@Column(name="FROM_DATE")
	private String fromDate;

	@Column(name="GUARANTEE_DAY")
	private String guaranteeDay;

	@Column(name="GUARANTEE_DR_CODE")
	private String guaranteeDrCode;

	@Column(name="GUARANTEE_EXPIRE_DATE")
	private String guaranteeExpireDate;

	@Column(name="GUARANTEE_SOURCE")
	private String guaranteeSource;

	@Column(name="GUARANTEE_START_DATE")
	private String guaranteeStartDate;

	@Column(name="HOSPITAL_UNIT_CODE")
	private String hospitalUnitCode;

	@Column(name="IN_GUARANTEE_PCT")
	private BigDecimal inGuaranteePct;

	@Column(name="IS_ADVANCE_PAYMENT")
	private String isAdvancePayment;

	@Column(name="IS_GUARANTEE_PROFILE")
	private String isGuaranteeProfile;

	@Column(name="IS_HOLD")
	private String isHold;

	@Column(name="LICENSE_ID")
	private String licenseId;

	@Column(name="NAME_ENG")
	private String nameEng;

	@Column(name="NAME_THAI")
	private String nameThai;

	@Column(name="NOTE")
	private String note;

	@Column(name="OVER_GUARANTEE_PCT")
	private BigDecimal overGuaranteePct;

	@Column(name="PAY_TAX_402_BY")
	private String payTax402By;

	@Column(name="PAYMENT_MODE_CODE")
	private String paymentModeCode;

	@Column(name="PAYMENT_TIME")
	private String paymentTime;

	@Column(name="POSITION_AMT")
	private BigDecimal positionAmt;

	@Column(name="SALARY")
	private BigDecimal salary;

	@Column(name="SPECIAL_TYPE_CODE")
	private String specialTypeCode;

	@Column(name="TAX_ID")
	private String taxId;

	@Column(name="TO_DATE")
	private String toDate;

	@Column(name="UPDATE_DATE")
	private String updateDate;

	@Column(name="UPDATE_TIME")
	private String updateTime;

	@Column(name="USER_ID")
	private String userId;

	@Column(name="ZIP")
	private String zip;

	public Doctor() {
	}

	public DoctorPK getId() {
		return this.id;
	}

	public void setId(DoctorPK id) {
		this.id = id;
	}

	public String getActive() {
		return this.active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getAddress1() {
		return this.address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getAddress2() {
		return this.address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getAddress3() {
		return this.address3;
	}

	public void setAddress3(String address3) {
		this.address3 = address3;
	}

	public String getBankAccountName() {
		return this.bankAccountName;
	}

	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	public String getBankAccountNo() {
		return this.bankAccountNo;
	}

	public void setBankAccountNo(String bankAccountNo) {
		this.bankAccountNo = bankAccountNo;
	}

	public String getBankBranchCode() {
		return this.bankBranchCode;
	}

	public void setBankBranchCode(String bankBranchCode) {
		this.bankBranchCode = bankBranchCode;
	}

	public String getBankCode() {
		return this.bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getDepartmentCode() {
		return this.departmentCode;
	}

	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}

	public String getDoctorCategoryCode() {
		return this.doctorCategoryCode;
	}

	public void setDoctorCategoryCode(String doctorCategoryCode) {
		this.doctorCategoryCode = doctorCategoryCode;
	}

	public String getDoctorProfileCode() {
		return this.doctorProfileCode;
	}

	public void setDoctorProfileCode(String doctorProfileCode) {
		this.doctorProfileCode = doctorProfileCode;
	}

	public String getDoctorTaxCode() {
		return this.doctorTaxCode;
	}

	public void setDoctorTaxCode(String doctorTaxCode) {
		this.doctorTaxCode = doctorTaxCode;
	}

	public String getDoctorTypeCode() {
		return this.doctorTypeCode;
	}

	public void setDoctorTypeCode(String doctorTypeCode) {
		this.doctorTypeCode = doctorTypeCode;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFromDate() {
		return this.fromDate;
	}

	public void setFromDate(String fromDate) {
		this.fromDate = fromDate;
	}

	public String getGuaranteeDay() {
		return this.guaranteeDay;
	}

	public void setGuaranteeDay(String guaranteeDay) {
		this.guaranteeDay = guaranteeDay;
	}

	public String getGuaranteeDrCode() {
		return this.guaranteeDrCode;
	}

	public void setGuaranteeDrCode(String guaranteeDrCode) {
		this.guaranteeDrCode = guaranteeDrCode;
	}

	public String getGuaranteeExpireDate() {
		return this.guaranteeExpireDate;
	}

	public void setGuaranteeExpireDate(String guaranteeExpireDate) {
		this.guaranteeExpireDate = guaranteeExpireDate;
	}

	public String getGuaranteeSource() {
		return this.guaranteeSource;
	}

	public void setGuaranteeSource(String guaranteeSource) {
		this.guaranteeSource = guaranteeSource;
	}

	public String getGuaranteeStartDate() {
		return this.guaranteeStartDate;
	}

	public void setGuaranteeStartDate(String guaranteeStartDate) {
		this.guaranteeStartDate = guaranteeStartDate;
	}

	public String getHospitalUnitCode() {
		return this.hospitalUnitCode;
	}

	public void setHospitalUnitCode(String hospitalUnitCode) {
		this.hospitalUnitCode = hospitalUnitCode;
	}

	public BigDecimal getInGuaranteePct() {
		return this.inGuaranteePct;
	}

	public void setInGuaranteePct(BigDecimal inGuaranteePct) {
		this.inGuaranteePct = inGuaranteePct;
	}

	public String getIsAdvancePayment() {
		return this.isAdvancePayment;
	}

	public void setIsAdvancePayment(String isAdvancePayment) {
		this.isAdvancePayment = isAdvancePayment;
	}

	public String getIsGuaranteeProfile() {
		return this.isGuaranteeProfile;
	}

	public void setIsGuaranteeProfile(String isGuaranteeProfile) {
		this.isGuaranteeProfile = isGuaranteeProfile;
	}

	public String getIsHold() {
		return this.isHold;
	}

	public void setIsHold(String isHold) {
		this.isHold = isHold;
	}

	public String getLicenseId() {
		return this.licenseId;
	}

	public void setLicenseId(String licenseId) {
		this.licenseId = licenseId;
	}

	public String getNameEng() {
		return this.nameEng;
	}

	public void setNameEng(String nameEng) {
		this.nameEng = nameEng;
	}

	public String getNameThai() {
		return this.nameThai;
	}

	public void setNameThai(String nameThai) {
		this.nameThai = nameThai;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public BigDecimal getOverGuaranteePct() {
		return this.overGuaranteePct;
	}

	public void setOverGuaranteePct(BigDecimal overGuaranteePct) {
		this.overGuaranteePct = overGuaranteePct;
	}

	public String getPayTax402By() {
		return this.payTax402By;
	}

	public void setPayTax402By(String payTax402By) {
		this.payTax402By = payTax402By;
	}

	public String getPaymentModeCode() {
		return this.paymentModeCode;
	}

	public void setPaymentModeCode(String paymentModeCode) {
		this.paymentModeCode = paymentModeCode;
	}

	public String getPaymentTime() {
		return this.paymentTime;
	}

	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}

	public BigDecimal getPositionAmt() {
		return this.positionAmt;
	}

	public void setPositionAmt(BigDecimal positionAmt) {
		this.positionAmt = positionAmt;
	}

	public BigDecimal getSalary() {
		return this.salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

	public String getSpecialTypeCode() {
		return this.specialTypeCode;
	}

	public void setSpecialTypeCode(String specialTypeCode) {
		this.specialTypeCode = specialTypeCode;
	}

	public String getTaxId() {
		return this.taxId;
	}

	public void setTaxId(String taxId) {
		this.taxId = taxId;
	}

	public String getToDate() {
		return this.toDate;
	}

	public void setToDate(String toDate) {
		this.toDate = toDate;
	}

	public String getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

}